<%--
  Created by IntelliJ IDEA.
  User: csnf
  Date: 2024/12/5
  Time: 09:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户编辑</title>
    <style>
        form {
            width: 300px;
            margin: 0 auto;
            padding: 20px;
            border: 1px solid #ccc;
            border-radius: 5px;
            background-color: #f9f9f9;
        }

        input[type="text"] {
            width: 100%;
            padding: 10px;
            margin-bottom: 15px;
            border: 1px solid #ccc;
            border-radius: 3px;
        }

        input[type="submit"] {
            background-color: #007bff;
            color: white;
            padding: 10px 15px;
            border: none;
            border-radius: 3px;
            cursor: pointer;
        }

        input[type="submit"]:hover {
            background-color: #0056b3;
        }

        fieldset {
            border: none;
            padding: 0;
            margin: 0;
        }

        legend {
            font-weight: bold;
            margin-bottom: 10px;
        }
    </style>
</head>
<body>
<form action="editUser" method="post">
    <fieldset>
        <legend>用户基本信息</legend>
        编辑：<input type="text" name="user_id" value="${user.user_id}" readonly style="background-color: #eee;">
        账号：<input type="text" name="user_name" value="${user.user_name}" style="background-color: #eee;">
        昵称：<input type="text" name="user_nickname" value="${user.user_nickname}" style="background-color: #eee;">
    </fieldset>
    <input type="submit">
</form>
</body>
</html>
